package cn.stylefeng.guns.modular.make.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * 月台预约管理
 */
@TableName("make_railway_platform_manage")
@Data
public class MakeRailwayPlatformManage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 状态
     */
    @TableField("state")
    private String state;

    /**
     * 运输单号
     */
    @TableField("dispatch_number")
    private String dispatchNumber;

    /**
     * 单号
     */
    @TableField("customer_order")
    private String customerOrder;

    /**
     * 预约类型
     */
    @TableField("make_type")
    private String makeType;

    /**
     * 月台id
     */
    @TableField("railway_platform_id")
    private Long railwayPlatformId;

    /**
     * 月台名称
     */
    @TableField("railway_platform_name")
    private String railwayPlatformName;

    /**
     * 车辆id
     */
    @TableField("car_id")
    private Long carId;

    /**
     * 车型
     */
    @TableField("car_type")
    private String carType;

    /**
     * 车牌号
     */
    @TableField("car_number")
    private String carNumber;

    /**
     * 司机
     */
    @TableField("driver")
    private String driver;

    /**
     * 联系方式
     */
    @TableField("tel")
    private String tel;

    /**
     * 体积
     */
    @TableField("volume")
    private String volume;

    /**
     * 抵达时间
     */
    @TableField("arrive_time")
    private String arriveTime;

    /**
     * 离开时间
     */
    @TableField("leave_time")
    private String leaveTime;

    /**
     * 备注
     */
    @TableField("notes")
    private String notes;

    /**
     * 审核备注
     */
    @TableField("examine_notes")
    private String examineNotes;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * v3
     */
    @TableField("v3")
    private String v3;

    /**
     * v4
     */
    @TableField("v4")
    private String v4;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建用户
     */
    @TableField("create_user_name")
    private String createUserName;

    @Override
    public String toString() {
        return "MakeRailwayPlatformManage{" +
        "id=" + id +
        ", state=" + state +
        ", dispatchNumber=" + dispatchNumber +
        ", customerOrder=" + customerOrder +
        ", makeType=" + makeType +
        ", railwayPlatformId=" + railwayPlatformId +
        ", railwayPlatformName=" + railwayPlatformName +
        ", carType=" + carType +
        ", carNumber=" + carNumber +
        ", driver=" + driver +
        ", tel=" + tel +
        ", volume=" + volume +
        ", arriveTime=" + arriveTime +
        ", leaveTime=" + leaveTime +
        ", notes=" + notes +
        ", examineNotes=" + examineNotes +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", v3=" + v3 +
        ", v4=" + v4 +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        ", createTime=" + createTime +
        ", createUserName=" + createUserName +
        "}";
    }
}
